import { WorkOrderType, WorkOrderStatus } from "../../models/transform/work-order";
import { StepPathComponent, StepPathComponentProperty } from "../step-path/step-path.component";

/**
 * Created by enroll on 2018/6/26.
 */
export class RecoverPathData {
  static get data() {
    return [
       {
        name: "alreadyRecover",
        status: WorkOrderStatus.EXECUTED,
        type: WorkOrderType.POWERRECOVERY,
        description: '已复电',
        month: "",
        time: "",
        frequency: null,
        attachment: "复电信息记录",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })
      },
      {
        name: "auditRecover",
        status: WorkOrderStatus.APPROVED,
        type: WorkOrderType.POWERRECOVERY,
        description: '待复电',
        month: "",
        time: "",
        frequency: null,
        attachment: "",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })

      },
      {
        name: "auditRecover",
        status: WorkOrderStatus.APPROVED,
        type: WorkOrderType.POWERRECOVERY,
        description: '绿色通道审核通过',
        month: "",
        time: "",
        frequency: null,
        attachment: "",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })

      },
      {
        name: "rejectRecover",
        status: WorkOrderStatus.REJECTED,
        type: WorkOrderType.POWERRECOVERY,
        description: '审核不通过',
        month: "",
        time: "",
        frequency: null,
        attachment: "",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })

      },
      {
        name: "recoverToBeApproved",
        status: WorkOrderStatus.TO_BE_APPROVED,
        type: WorkOrderType.POWERRECOVERY,
        description: '复电待审核',
        month: "",
        time: "",
        frequency: null,
        attachment: "复电申请信息",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })
      },
      {
        name: "auditSubmitRecover",
        status: WorkOrderStatus.TO_BE_SUBMIT,
        type: WorkOrderType.POWERRECOVERY,
        description: '待提交复电申请',
        month: "",
        time: "",
        frequency: null,
        totalFee: null,
        attachment: "",
        stepProp: new StepPathComponentProperty({
        cssClass: "defaultStep"
      })
    }

  ];
  }
}

